<template>
  <div>
  <div id="ll">

    <div style="margin: 10px 0px 10px 30px">
      <el-button type="primary" round plain>全部</el-button>
      <el-button type="primary" round plain>已超时</el-button>
      <el-button type="primary" round plain>催办</el-button>
      <el-button type="primary" round plain>回退</el-button>
      <el-button type="primary" round plain> 暂存</el-button>
      <el-button type="primary" @click="ListAudit()" round plain> 刷新</el-button>
    </div>


    <div v-for="(item,index) in AuditList" :key="index">
      <div @click="cardclick(item)">
        <el-card class="box-card" style="padding: 0px 0px" v-if="InquiryId(item)==1">
          <div class="clearfix" slot="header">
            <span>{{item.auditTableName}}</span>
            <span style="font-size: 12px;color: #838892;margin-left: 8px"><i style="margin-right: 5px"
                class="el-icon-share" />{{xiansi(item)}}</span>
            <span style="float: right;font-size: 12px;color: #838892;">{{item.pcmInquiryDemand.quoteDeadline}}</span>
          </div>
          <div class="text item">
            <el-avatar  :size="50" style="margin:0px 15px; background-color: #00AED1;float:left;">{{item.userName.substring(0,1)}}</el-avatar> <span class="name"
              style="display: inline-block;float: left">{{item.userName}}</span>
            <div style="float: left;text-align: left;margin: 0px 0px 20px 530px">
              <span
                style="font-size: 12px;color: #838892;margin: 5px">询报价需求编号:</span>{{item.pcmInquiryDemand.inquiryDemandNumber}}<br>
              <span style="font-size: 12px;color: #838892;margin: 5px">报价供应商:</span>{{item.supplierFullName}}<br>
              <span
                style="font-size: 12px;color: #838892;margin: 5px">报价截止时间:</span>{{item.pcmInquiryDemand.quoteDeadline}}
            </div>
          </div>
        </el-card>
      </div>


      <!-- 文志海 -->
      <div @click="PcmSupplierSampleManagementClick(item)">
        <el-card class="box-card" style="padding: 0px 0px" v-if="InquiryId(item)==2">
          <div class="clearfix" slot="header">
            <span>{{item.auditTableName}}</span>
            <span style="font-size: 12px;color: #838892;margin-left: 8px"><i style="margin-right: 5px" class="el-icon-share" />样品接受</span>
            <span style="float: right;font-size: 12px;color: #838892;">{{item.pcmSupplierSampleManagementList.submissionTime}}</span>
          </div>
          <div style="margin-top: -60px;">
           <el-avatar  :size="50" style="position: relative; top: 82px; left: 10px;background-color: #00AED1">{{item.pcmSupplierSampleManagementList.sysUserList[0].userName.substring(0,1)}}</el-avatar>
              <span style="position: relative; top: 60px; left: 25px;">{{item.pcmSupplierSampleManagementList.sysUserList[0].userName}}</span>
              <el-descriptions style="margin-left: 300px;" :column="2">
              <el-descriptions-item label="供应商"><b>{{item.pcmSupplierSampleManagementList.sysDeptList[0].deptName}}</b></el-descriptions-item>
              <el-descriptions-item label="样品类型"><strong>{{sampleType(item.pcmSupplierSampleManagementList.sampleType)}}</strong></el-descriptions-item>
              <el-descriptions-item label="供应商全称"><b>{{item.pcmSupplierSampleManagementList.supplierFullName}}</b></el-descriptions-item>
              <el-descriptions-item label="邮寄日期"><b>{{item.pcmSupplierSampleManagementList.mailingDate}}</b></el-descriptions-item>
              <el-descriptions-item label="样品名称"><b>{{item.pcmSupplierSampleManagementList.sampleFullName}}</b></el-descriptions-item>
              <el-descriptions-item label="邮寄单号"><b>{{item.pcmSupplierSampleManagementList.mailingNumber}}</b></el-descriptions-item>
            </el-descriptions>
          </div>
        </el-card>


        <!-- 供应商样品 -->
        <el-dialog :title="ManagemenTitle" :visible.sync="pssmOpn" width="600px" append-to-body>
          <el-form ref="PcmsuppliersamplemanagementDate" :model="PcmsuppliersamplemanagementDate" :rules="rules" label-width="110px">
            <el-form-item label="供应商">
              <el-input v-model="deptName" readonly />
            </el-form-item>
            <el-form-item label="供应商全称">
              <el-input v-model="PcmsuppliersamplemanagementDate.supplierFullName" readonly />
            </el-form-item>
            <el-form-item label="样品名称">
              <el-input v-model="PcmsuppliersamplemanagementDate.sampleFullName" readonly />
            </el-form-item>
            <el-form-item label="样品类型">
              <b>{{sampleType(PcmsuppliersamplemanagementDate.sampleType)}}</b>
            </el-form-item>
            <el-form-item label="样品图片">
              <el-avatar shape="square" :size="100" :src="PcmsuppliersamplemanagementDate.sampleImage" />
            </el-form-item>
            <el-form-item label="邮寄日期">
              <el-input v-model="PcmsuppliersamplemanagementDate.mailingDate" readonly />
            </el-form-item>
            <el-form-item label="邮寄单号">
              <el-input v-model="PcmsuppliersamplemanagementDate.mailingNumber" readonly />
            </el-form-item>
            <el-form-item label="样品是否签收" prop="isSign">
              <el-radio-group v-model="PcmsuppliersamplemanagementDate.isSign">
                <el-radio v-for="dict in dict.type.sys_isign" :key="dict.value"
                  :label="parseInt(dict.value)">{{dict.label}}</el-radio>
              </el-radio-group>
            </el-form-item>
            <el-form-item label="样品结果" prop="sampleResults">
              <el-radio-group v-model="PcmsuppliersamplemanagementDate.sampleResults">
                <el-radio v-for="dict in dict.type.sys_sampleresults" :key="dict.value"
                  :label="parseInt(dict.value)">{{dict.label}}</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-form>
          <div slot="footer" class="dialog-footer">
            <el-button type="primary" @click="submitForm">确 定</el-button>
            <el-button @click="managementCancel">取 消</el-button>
          </div>
        </el-dialog>
      </div>

      <!-- 供应商准入-->
      <div @click="srmApprovalsClick(item)">
        <el-card class="box-card" style="padding: 0px 0px" v-if="InquiryId(item)==3">
          <div class="clearfix" slot="header">
            <span>{{item.auditTableName}}</span>
            <span style="font-size: 12px;color: #838892;margin-left: 8px"><i style="margin-right: 5px"
            class="el-icon-share" />{{approvalStatus(item.srmApprovals.approvalStatus)}}</span>
            <span style="float: right;font-size: 12px;color: #838892;">{{item.auditQuoteDeadline}}</span>
          </div>
          <div class="text item">
            <img class="tx" :src="item.srmApprovals.sysUserList[0].avatar" />
            <span class="name" style="display: inline-block;float: left">{{item.srmApprovals.sysUserList[0].userName}}</span>
            <div style="float: left;text-align: left;margin: 0px 0px 20px 530px">
              <span style="font-size: 12px;color: #838892;margin: 5px">选着准入条列:</span>{{item.srmApprovals.pcmSupplierClauseList[0].clauseTitle}}<br>
              <span style="font-size: 12px;color: #838892;margin: 5px">满分:</span>{{item.srmApprovals.pcmSupplierClauseList[0].totalScore}}<br>
              <span style="font-size: 12px;color: #838892;margin: 5px" v-if="!item.srmApprovals.vendorReview">是否同意进入... :</span>
              <span style="font-size: 12px;color: #838892;margin: 5px" v-if="item.srmApprovals.vendorReview">最终得分... :</span>
            </div>
          </div>
        </el-card>

        <!-- 供应商准入 -->
        <el-dialog :title="titlesrm" :visible.sync="srmOpn" width="1000px" append-to-body>
          <!-- 添加-->
          <el-form :model="fromsrm" ref="fromsrm"  :rules="rules" size="mini">
            <el-form-item label="供应商状态">
              <el-input placeholder="暂无内容" v-model="zhuantai" :disabled="true" size="mini" class="blue-input" />
            </el-form-item>
            <el-form-item label="供应商">
              <el-input v-model="deptName2" placeholder="暂无内容" :disabled="true" size="mini" class="blue-input" />
            </el-form-item>
            <div>
              <h4>供应商基本资料</h4>
              <h5>供应商注册</h5>
              <el-table :data="supplierList">
                <el-table-column label="供应商状态" align="center" prop="supplierStates" sortable width="180">
                  <template slot-scope="scope">
                    <dict-tag :options="dict.type.pcm_supplier_states" :value="scope.row.supplierStates" />
                  </template>
                </el-table-column>
                <el-table-column label="供应商" align="center" sortable width="180">
                  {{deptName2}}
                </el-table-column>
                <el-table-column label="供应商编号" align="center" sortable width="180" />
                <el-table-column label="供应商全称" align="center" prop="supplierFullName" sortable width="180" />
                <el-table-column label="供应商简称" align="center" prop="supplierShortName" sortable width="180" />
                <el-table-column label="开户行" align="center" prop="bankName" sortable width="180" />
                <el-table-column label="收款账户" align="center" prop="accountNumber" sortable width="180" />
                <el-table-column label="税种" align="center" prop="taxType" sortable width="180">
                  <template slot-scope="scope">
                    <dict-tag :options="dict.type.sys_seed_rice" :value="scope.row.taxType" />
                  </template>
                </el-table-column>
                <el-table-column label="税率" align="center" prop="taxRate" sortable width="180">
                  <template slot-scope="scope">
                    <dict-tag :options="dict.type.sys_tar_rate" :value="scope.row.taxRate" />
                  </template>
                </el-table-column>
                <el-table-column label="供应产品类别" align="center" prop="supplyProductCategory" sortable width="180">
                  <template slot-scope="scope">
                    <dict-tag :options="dict.type.sys_sup_cat" :value="scope.row.supplyProductCategory" />
                  </template>
                </el-table-column>
                <el-table-column label="主要采购内容" align="center" prop="mainSupplyProduct" sortable width="180" />
                <el-table-column label="公司人数" align="center" prop="companySize" sortable width="180" />
                <el-table-column label="年营收" align="center" prop="annualTurnover" sortable width="180" />
                <el-table-column label="联系地址" align="center" prop="address" sortable width="180" />
                <el-table-column label="企业名称" align="center" prop="taxpayerIdentificationNumber" sortable width="180" />
                <el-table-column label="纳税人识别号" align="center" prop="taxpayerIdentificationNumber" sortable width="180" />
                <el-table-column label="企业状态" align="center" prop="companyStatus" sortable width="180">
                  <template slot-scope="scope">
                    <dict-tag :options="dict.type.sys_procestatus" :value="scope.row.companyStatus" />
                  </template>
                </el-table-column>
                <el-table-column label="成立时间" align="center" prop="establishmentDate" sortable width="180">
                  <template slot-scope="scope">
                    <span>{{ parseTime(scope.row.establishmentDate) }}</span>
                  </template>
                </el-table-column>
                <el-table-column label="法定代表人" align="center" prop="legalRepresentative" sortable width="180" />
                <el-table-column label="注册资本" align="center" prop="registeredCapital" sortable width="180" />
                <el-table-column label="实缴资本" align="center" prop="actualCapital" sortable width="180" />
                <el-table-column label="企业性质" align="center" prop="companyNature" sortable width="180" />
                <el-table-column label="注册地址" align="center" prop="registeredAddress" />
                <el-table-column label="经营范围" align="center" prop="businessScope" />
              </el-table>
             <pagination v-show="total1>0" :total="total1" :page.sync="queryParams1.pageNum"
                :limit.sync="queryParams1.pageSize" @pagination="getSupplierList" />
            </div>

            <br>

            <div>
              <h4>供应商资质证书</h4>
              <h5>供应商资质档案</h5>
              <el-table :data="archiveList">
                <el-table-column label="供应商" align="center" sortable width="180">
                  {{deptName2}}
                </el-table-column>
                <el-table-column label="证书名称" align="center" prop="certificateName" sortable width="180" />
                <el-table-column label="证书类别" align="center" prop="certificateType" sortable width="180">
                  <template slot-scope="scope">
                    <dict-tag :options="dict.type.sys_certificate_category" :value="scope.row.certificateType" />
                  </template>
                </el-table-column>
                <el-table-column label="附件" align="center" prop="attachment" sortable width="180" />
                <el-table-column label="到期时间" align="center" prop="expirationDate" sortable width="180">
                  <template slot-scope="scope">
                    <span>{{ parseTime(scope.row.expirationDate) }}</span>
                  </template>
                </el-table-column>
                <el-table-column />
              </el-table>
             <pagination v-show="total3>0" :total="total3" :page.sync="queryParams3.pageNum"
                :limit.sync="queryParams3.pageSize" @pagination="getSupplierList3" />
            </div>

            <br>

            <div>
              <h4>供应商联系人</h4>
              <h5>供应商联系人</h5>
              <el-table :data="contactList">
                <el-table-column label="供应商" align="center" sortable width="180">
                  {{deptName2}}
                </el-table-column>
                <el-table-column label="姓名" align="center" prop="name" sortable width="180" />
                <el-table-column label="电话" align="center" prop="phone" sortable width="180" />
                <el-table-column label="邮箱" align="center" prop="email" sortable width="180" />
                <el-table-column label="地址" align="center" prop="address" />
                <el-table-column />
              </el-table>
             <pagination v-show="total2>0" :total="total2" :page.sync="queryParams2.pageNum"
                :limit.sync="queryParams2.pageSize" @pagination="getSupplierList2" />

            </div>
            <br>
            <div v-if=" vendorreviews == null ||  vendorreviews == 2">
              <span>选择准入条例</span>
              <br><br>
              <el-select label="选择准入条例" v-model="supplierClauseID"  size="mini">
                <el-option v-for="item in accessListXllb" :key="item.supplierClauseID" :label="item.clauseTitle"
                  :value="item.supplierClauseID">
                </el-option>

              </el-select>
              <el-form-item label="满分" prop="totalScore">
                <el-input v-model="totalScoreSrm" :disabled="true" size="mini" />
              </el-form-item>
              <el-table :data="pcmSupplierRatingList" style="width: 300px">
                <el-table-column label="" align="center" type="index" start="1" />
                <el-table-column label="评估项" align="center" prop="assItems" />
                <el-table-column label="最高分" align="center" prop="topcore" />
              </el-table>
            </div>

            <div v-if="vendorreviews == 1">
              <span>选择准入条例</span>
              <br><br>
              <el-select label="选择准入条例" v-model="supplierClauseID"  size="mini">
                <el-option v-for="item in accessListXllb" :key="item.supplierClauseID" :label="item.clauseTitle"
                  :value="item.supplierClauseID">
                </el-option>

              </el-select>
              <el-form-item label="满分" prop="totalScore">
                <el-input v-model="totalScoreSrm" :disabled="true" size="mini" />
              </el-form-item>
              <el-table :data="pcmSupplierRatingList" style="width: 700px">
                <el-table-column label="" align="center" type="index" start="1" />
                <el-table-column label="评估项" align="center" prop="assItems" />
                <el-table-column label="最高分" align="center" prop="topcore" />
                <el-table-column label="得分" prop="score" width="150">
                  <template slot-scope="scope">
                    <el-input v-model="scope.row.score" placeholder="请输入得分" />
                  </template>
                </el-table-column>
                <el-table-column label="评分说明" prop="illustrate" width="150" >
                  <template slot-scope="scope">
                    <el-input v-model="scope.row.illustrate" placeholder="请输入评分说明" />
                  </template>
                </el-table-column>
               <el-table-column label="附件" align="center" prop="attachment" width="180">
                   <template slot-scope="scope">

                       	<el-upload
                           ref="upload"
                       		 class="upload-demo"
                          :limit="fileLimit"
                          :action="url"
                       		:headers="headers"
                          :file-list="listfile"
                       		:on-remove="handleRemove"
                       		:on-exceed="handleExceed"
                          :on-success="file => handlesuccess(file, scope.$index)"
                       		:before-upload="beforeUpload"
                       		:show-file-list="false"
                       		>
                       		<el-button class="btn"><i class="el-icon-upload"></i>上传附件</el-button>
                       	</el-upload>


                   </template>
               </el-table-column>
              </el-table>

              <el-form-item label="最终得分" prop="srmtotalScore">
                <el-input v-model="srmtotalScore" :disabled="true" size="mini" />
              </el-form-item>
            </div>
            <br>
            <h2>{{titlesrm}}</h2>

           <hr>

            <el-form-item label="是否同意进入准入评估" prop="vendorReview" v-if="vendorreviews == 1">
              <el-input value="同意" :disabled="true" size="mini" readonly="" />
            </el-form-item>
            <el-form-item label="是否同意进入准入评估" prop="vendorReview" v-else>
              <el-radio-group v-model="fromsrm.vendorReview">
                <el-radio
                  v-for="dict in dict.type.sys_vendoreview"
                  :key="dict.value"
                  :label="parseInt(dict.value)"
                >{{dict.label}}</el-radio>
              </el-radio-group>
            </el-form-item>

            <div>
              <el-button  type="primary" @click="submitFormAdd">确 定</el-button>
              <el-button @click="srmcancel">取 消</el-button>
            </div>
          </el-form>
        </el-dialog>
      </div>



      <!-- 采购-->
      <div @click="PcmPurchaseRequestClick(item)" style="margin-bottom: 20px;box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);border-radius: 10px;width: 98%;margin-left: 10px;">
        <el-card  v-if="InquiryId(item)==4">
          <div class="clearfix" slot="header">
            <span>{{item.auditTableName}}</span>
            <span style="font-size: 12px;color: #838892;margin-left: 8px"><i style="margin-right: 5px" class="el-icon-share"/>申请审批</span>
            <span style="float: right;font-size: 12px;color: #838892;">{{item.pcmPurchaseRequest.requestDate}}</span>
          </div>
          <div style="margin-top: -60px;">
            <el-avatar  :size="50" style="position: relative; top: 82px; left: 10px;background-color: #00AED1">{{item.pcmPurchaseRequest.userName.substring(0,1)}}</el-avatar>
              <span style="position: relative; top: 60px; left: 25px;">{{item.pcmPurchaseRequest.userName}}</span>
              <el-descriptions style="margin-left: 300px;" :column="2">
              <el-descriptions-item label="采购申请编号"><b>{{item.pcmPurchaseRequest.purchaseRequestNumber}}</b></el-descriptions-item>
              <el-descriptions-item label="申请人"><strong>{{item.pcmPurchaseRequest.userName}}</strong></el-descriptions-item>
              <el-descriptions-item label="采购类型"><dict-tag :options="dict.type.sys_type_purchase" :value="item.pcmPurchaseRequest.purchaseType"/></el-descriptions-item>
              <el-descriptions-item label="申请部门"><b>{{item.supplierFullName}}</b></el-descriptions-item>
              <el-descriptions-item label="申请日期"><b>{{item.pcmPurchaseRequest.requestDate}}</b></el-descriptions-item>
              <el-descriptions-item label="采购申请状态..."></el-descriptions-item>
            </el-descriptions>
          </div>
        </el-card>
      </div>

      <!--冯星瑞 邀标审核 -->
      <div @click="invitationReviewInformation(item.auditTableNumber,item.auditId)">
        <el-card class="box-card" style="padding: 0px 0px" v-if="InquiryId(item)==5">
          <div class="clearfix" slot="header">
            <span>{{ item.auditTableName }}</span>
            <span style="font-size: 12px;color: #838892;margin-left: 8px"><i style="margin-right: 5px" class="el-icon-share" />邀标审核</span>
            <span style="float: right;font-size: 12px;color: #838892;">{{ item.auditQuoteDeadline }}</span>
          </div>
          <div style="margin-top: -60px;">
           <el-avatar  :size="40" style="position: relative; top: 74px; left: 10px;background-color: #00AED1">
            <img :src="item.avatar" />
          </el-avatar>
              <span style="position: relative; top: 60px; left: 25px;font-size: 13px;">{{ item.userName }}</span>
              <el-descriptions style="margin-left: 300px;" :column="2">
              <el-descriptions-item label="供应商资格邀请">{{ item.pcmBiddingInviteTenders.supplierQualificationRequirements }}</el-descriptions-item>
              <el-descriptions-item label="采购联系电话">{{ item.pcmBiddingInviteTenders.procurementContactNumber }}</el-descriptions-item>
              <el-descriptions-item label="保证金">{{ item.pcmBiddingInviteTenders.deposit }}</el-descriptions-item>
              <el-descriptions-item label="报名截至时间">{{ item.pcmBiddingInviteTenders.registrationDeadline }}</el-descriptions-item>
              <el-descriptions-item label="采购负责人">{{ item.pcmBiddingInviteTenders.fzr }}</el-descriptions-item>
              <el-descriptions-item label="投标开始时间">{{ item.pcmBiddingInviteTenders.biddingStartTime }}</el-descriptions-item>
            </el-descriptions>
          </div>
        </el-card>
      </div>

      <!--冯星瑞 供应商报名 -->
      <div @click="tanGysk(item)">
        <el-card class="box-card" style="padding: 0px 0px" v-if="InquiryId(item)==6">
          <div class="clearfix" slot="header">
            <span>{{ item.auditTableName }}</span>
            <span style="font-size: 12px;color: #838892;margin-left: 8px"><i style="margin-right: 5px" class="el-icon-share" />确认报名</span>
          </div>
          <div style="margin-top: -60px;">
           <el-avatar  :size="40" style="position: relative; top: 74px; left: 10px;background-color: #00AED1">
            <img :src="item.avatar" />
          </el-avatar>
              <span style="position: relative; top: 60px; left: 25px;font-size: 13px;">{{ item.userName }}</span>
              <el-descriptions style="margin-left: 300px;" :column="2">
              <el-descriptions-item label="被邀标供应商">{{ item.supplierFullName }}</el-descriptions-item>
              <el-descriptions-item></el-descriptions-item>
              <el-descriptions-item label="项目名称">{{ item.pcmInvitedSupplier.projectName }}</el-descriptions-item>
              <el-descriptions-item></el-descriptions-item>
              <el-descriptions-item label="报名资格确认"></el-descriptions-item>
            </el-descriptions>
          </div>
        </el-card>
      </div>

      <!--冯星瑞 专家评标 -->
      <div @click="tanExpert(item)">
        <el-card class="box-card" style="padding: 0px 0px" v-if="InquiryId(item)==7">
          <div class="clearfix" slot="header">
            <span>{{ item.auditTableName }}</span>
            <span style="font-size: 12px;color: #838892;margin-left: 8px"><i style="margin-right: 5px" class="el-icon-share" />专家评标</span>
          </div>
          <div style="margin-top: -60px;">
           <el-avatar  :size="40" style="position: relative; top: 74px; left: 10px;background-color: #00AED1">
            <img :src="item.avatar" />
          </el-avatar>
              <span style="position: relative; top: 60px; left: 25px;font-size: 13px;">{{ item.userName }}</span>
              <el-descriptions style="margin-left: 300px;" :column="2">
              <el-descriptions-item label="确认开始评标"/>
              <el-descriptions-item label="评标截至时间">{{ formattedDate(item.evaluationContent.evaluationDeadline) }}</el-descriptions-item>
              <el-descriptions-item label="评标专家">{{ item.evaluationContent.nickName }}</el-descriptions-item>
              <el-descriptions-item label="最终得分"/>
              <el-descriptions-item label="招标项目编号">{{ item.evaluationContent.projectNumber }}</el-descriptions-item>
            </el-descriptions>
          </div>
        </el-card>
      </div>

    <!-- 循环div结束-->
    </div>

    <!-- 弹框模块-->
      <el-dialog :title="title3" :visible.sync="outerVisible" :before-close="guanbi">
        <div id="fanmm">
          <el-form>
          <el-form-item label="报价供应商" style="margin-bottom: 0px" />
            <el-row>
              <el-col :span="24">
                <div class="grid-content bg-purple-dark" style="margin-left: 20px">{{InquiryDemode.userlist.dept.deptName}}</div>
              </el-col>
            </el-row>
          <el-form-item label="本次采购需求明细" />
          <div>询报价需求</div>
          <div id="alba">
            <el-table :data="InquiryDemode2">
            <el-table-column label="询报价需求编号" prop="inquiryDemandNumber" width="180px"/>
            <el-table-column label="询报价需求">
              <el-table-column label="产品编号" width="140" align="center">
                <template slot-scope="scope">
                  <div v-for="(requestnumber,index) in scope.row.pcmApplicationDetailList"
                    style="border-top: 1px #dfe6ec solid;width: 100%;padding: 22px 0px;text-align: center">
                    {{requestnumber.productNumbera.productNumber}}
                  </div>
                </template>
              </el-table-column>
              <el-table-column label="产品名称" width="140" align="center">
                <template slot-scope="scope">
                  <div v-for="(requestnumber,index) in scope.row.pcmApplicationDetailList"
                    style="border-top: 1px #dfe6ec solid;width: 100%;padding: 22px 0px;text-align: center">
                    {{requestnumber.productNumbera.productName}}
                  </div>
                </template>
              </el-table-column>
              <el-table-column label="单位" width="140" align="center">
                <template slot-scope="scope">
                  <div v-for="(requestnumber,index) in scope.row.pcmApplicationDetailList"
                    style="border-top: 1px #dfe6ec solid;width: 100%;padding: 18px 0px;text-align: center">
                    <dict-tag :options="dict.type.sys_unit" :value="requestnumber.productNumbera.unit" />
                  </div>
                </template>
              </el-table-column>
              <el-table-column label="需求数量" width="140" align="center">
                <template slot-scope="scope">
                  <div v-for="(requestnumber,index) in scope.row.pcmApplicationDetailList"
                    style="border-top: 1px #dfe6ec solid;width: 100%;padding: 22px 0px;text-align: center">
                    {{requestnumber.requiredQuantity}}
                  </div>
                </template>
              </el-table-column>
              <el-table-column label="期望到货日期" width="140" align="center">
                <template slot-scope="scope">
                  <div v-for="(requestnumber,index) in scope.row.pcmApplicationDetailList"
                    style="border-top: 1px #dfe6ec solid;width: 100%;padding: 22px 0px;text-align: center">
                    {{requestnumber.expectedDeliveryDate}}
                  </div>
                </template>
              </el-table-column>
            </el-table-column>
          </el-table>
          </div>

          <el-form-item label="报价截止时间" style="margin-bottom: 5px" />
          <el-row>
            <el-col :span="24">
              <div class="grid-content bg-purple-dark" style="margin-left: 20px">{{InquiryDemode.quote_deadline}}</div>
            </el-col>
          </el-row>
          <el-form-item label="报价明细" style="margin-bottom: 0px" />
          <div v-if="panduan()">
            <el-button type="primary" @click="qtCard">添加</el-button>
          </div>
          <el-dialog title="选择数据" :visible.sync="interVisible" append-to-body>
            <el-form-item label="产品编号" prop="productNumber">
              <el-input v-model="InquiryDemode.productNumber" placeholder="请输入采购产品编号" clearable
                @keyup.enter.native="handleQuery" />
            </el-form-item>
            <el-form-item label="产品名称" prop="productName">
              <el-input v-model="InquiryDemode.productName" placeholder="请输入采购产品名称" clearable
                @keyup.enter.native="handleQuery" />
            </el-form-item>
            <el-form-item>
              <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
              <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
            </el-form-item>
            <el-table :data="product2" @selection-change="handleSelectionChange" border style="width: 900px">
              <el-table-column type="selection" width="55" align="center" />
              <el-table-column label="产品编号" align="center" prop="productNumbera.productNumber" />
              <el-table-column label="产品名称" align="center" prop="productNumbera.productName" />
              <el-table-column label="单位" align="center" prop="unit">
                <template slot-scope="scope">
                  <dict-tag :options="dict.type.sys_unit" :value="scope.row.productNumbera.unit" />
                </template>
              </el-table-column>
              <el-table-column label="需求数量" align="center" prop="requiredQuantity" />
            </el-table>
            <pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum"
              :limit.sync="queryParams.pageSize" @pagination="cardclick(Auditid)" />
            <div slot="footer" class="dialog-footer">
              <el-button type="primary" @click="subapp" :disabled="multiple">确 定</el-button>
              <el-button @click="guanbi">取 消</el-button>
            </div>
          </el-dialog>
          <el-table :data="product" :row-key="row => row.id">
            <el-table-column label="产品编号" prop="pcmMaterialRecord.productNumber" width="180px"/>
            <el-table-column label="产品名称" prop="pcmMaterialRecord.productName" />
            <el-table-column label="单位">
              <template slot-scope="scope">
                <dict-tag :options="dict.type.sys_unit" :value="scope.row.pcmMaterialRecord.unit" />
              </template>
            </el-table-column>
            <el-table-column label="需求数量" prop="requiredQuantity" />
            <el-table-column label="预计到货时间" width="160px">
              <template slot-scope="scope">
                <el-date-picker clearable v-model="scope.row.estimatedDeliveryTime" type="date"
                  value-format="yyyy-MM-dd" placeholder="请选择期望到货日期" />
              </template>
            </el-table-column>
            <el-table-column label="最终价格" v-if="judgment4" width="160px">
              <template slot-scope="scope">
                <el-input v-if="scope.row.thirdQuotation!=null" v-model="scope.row.thirdQuotation" />
                <el-input v-else-if="scope.row.secondQuotation!=null" v-model="scope.row.secondQuotation" />
                <el-input v-else-if="scope.row.firstQuotation!=null" v-model="scope.row.firstQuotation" />
              </template>
            </el-table-column>
            <el-table-column label="第一次报价" v-if="judgment3">
              <template slot-scope="scope">
                <el-input v-model="scope.row.firstQuotation" placeholder="进行第一次报价" />
              </template>
            </el-table-column>
            <el-table-column v-if="judgment" label="第二次报价">
              <template slot-scope="scope">
                <el-input v-model="scope.row.secondQuotation" placeholder="进行第二次报价" />
              </template>
            </el-table-column>
            <el-table-column v-if="judgment2" label="第三次报价">
              <template slot-scope="scope">
                <el-input v-model="scope.row.thirdQuotation" placeholder="进行第三次报价" />
              </template>
            </el-table-column>
          </el-table>
          <el-form-item label="报价单" style="margin-bottom: 5px" />

        </el-form>
        </div>


        <el-upload ref="upload" class="upload-demo" :limit="2" multiple :action="upload.url"
                 :headers="upload.headers" :file-list="upload.fileList" :before-remove="beforeRemove" :on-progress="handleFileUploadProgress"
                 :on-success="handleFileSuccess" :auto-upload="true" drag>
          <div class="el-upload__text">将文件拖到此处，或<em>点击上传</em></div>
        </el-upload>

        <div v-if="this.Auditid.pcmSupplierQuotation.quoteStatus==1">
          <el-form>
        <el-form-item label="是否需要供应商再次报价">
        </el-form-item></el-form>
          <el-radio v-model="redis" label="2">第二次报价</el-radio>
          <el-radio v-model="redis" label="3">第三次报价</el-radio>
        </div>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary"  @click="handleQuery">确 定</el-button>
          <el-button @click="resetQuery">取 消</el-button>
        </div>
      </el-dialog>
    </div>

    <!-- 李杨 -->
    <el-dialog :title="'采购申请单-申请审批'" :visible.sync="flay" :fullscreen="true">
      <p style="box-shadow: inset 0px 5px 5px -5px rgba(0, 0, 0, 0.5);margin-top: -29px;padding-top: 33px;margin-bottom: -2px;"><strong>采购申请</strong></p><hr /><p></p>
      <el-form label-width="80px" ref="pcmPurchaseRequest" :model="pcmPurchaseRequest">
        <el-row :gutter="200">
          <el-col :span="11">
          <el-form-item label="采购申请编号"  label-width="50" style="margin: 0px;line-height: 5px;"/>
          <el-input v-model="pcmPurchaseRequest.purchaseRequestNumber" :disabled="true" style="width: 65%;"/>
          </el-col>
          <el-col :span="11">
          <el-form-item label="采购类型"  label-width="50" style="margin: 0px;line-height: 5px;"/>
          <el-input v-model="TypePurchase" :disabled="true"/>
          </el-col>
        </el-row>

        <el-row :gutter="200" style="margin-top: 20px;">
          <el-col :span="11">
          <el-form-item label="申请日期"  label-width="50" style="margin: 0px;line-height: 5px;"/>
          <el-input v-model="pcmPurchaseRequest.requestDate" :disabled="true"/>
          </el-col>
          <el-col :span="11">
          <el-form-item label="申请人"  label-width="50" style="margin: 0px;line-height: 5px;"/>
          <el-input v-model="pcmPurchaseRequestName" :disabled="true"/><!-- v-model="pcmPurchaseRequest.sysUser.userName" -->
          </el-col>
        </el-row>

        <el-row :gutter="200" style="margin-top: 20px;">
          <el-col :span="11">
          <el-form-item label="申请部门"  label-width="50" style="margin: 0px;line-height: 5px;"/>
          <el-input v-model="supperName" :disabled="true"/>
          </el-col>
        </el-row>

        <el-row :gutter="200" style="margin-top: 20px;">
          <el-col>
          <el-form-item label="采购明细"  style="margin: 0px;line-height: 5px;"/>
          <el-table :data="pcmPurchaseRequest.pcmApplicationDetailList" border  :default-sort = "{prop: 'demandLineNumber', order: 'acsending'}">
            <el-table-column width="150" prop="demandLineNumber"/>
            <el-table-column label="产品名称"  width="150" prop="productName"/>
            <el-table-column label="单位" align="center"  width="150">
              <template slot-scope="scope">
                <dict-tag :options="dict.type.sys_unit" :value="scope.row.productUnit"/>
              </template>
            </el-table-column>
            <el-table-column label="需求数量" align="center" width="150" prop="requiredQuantity"/>
            <el-table-column label="期望到货日期" width="150" prop="expectedDeliveryDate"/>
            <el-table-column label="期望供应商" width="150" prop="pcmSupplier.supplierFullName"/>
            <el-table-column label="供应商状态" width="150">
              <template slot-scope="scope">
                 <dict-tag :options="dict.type.pcm_supplier_states" :value="scope.row.pcmSupplier.supplierStates"/>
              </template>
            </el-table-column>
          </el-table>
          </el-col>
        </el-row>
        <p style="margin-bottom: -2px;margin-top: 50px;"><strong>申请审批</strong></p><hr />
        <p style="margin-top: 30px;"><strong>采购申请状态变更</strong></p>
        <el-radio-group v-model="radio" ref="myRadioGroup" :style="{ backgroundColor: radioGroupBgColor }" style="width: 100%;height: 100px;">
          <el-radio v-model="radio" label="1" style="margin-bottom: 10px;">转需求</el-radio><br />
          <el-radio v-model="radio" label="2">需求作废</el-radio>
        </el-radio-group>
      </el-form>
      <div style="height: 80px;"></div>
      <div style="border-top: 1px dashed black;position: fixed; bottom: 0px; left: 20px; width: 100%;padding-top: 5px;background-color: #fff;padding-bottom: 20px;">
      <el-button type="primary" style="width: 100px;background-color: #00B899;color: #fff;" @click="Commit">提交</el-button>
	   </div>
    </el-dialog>

    <!-- 冯星瑞 邀标审核弹框 -->
    <el-dialog title="邀标 — 邀标审核" :visible.sync="tanInvitation" width="1346px">
      <div v-if="tanInvitation" id="tkShenHe">
        <el-container>
          <el-main>
            <el-form label-position="top">
              <el-row :gutter="15">
                <!-- 分割线----1、基本信息-->
                <el-col :span="24">
                  <MyDivider label="1、基本信息"></MyDivider>
                </el-col>
                <!-- 招标基本信息(项目名称) -->
                <el-col :span="24">
                  <el-col :span="12">
                    <el-form-item label="招投标需求编号" class="dan">
                      <el-input
                        :disabled="true"
                        v-model="form.demandNumber"
                        placeholder="暂无内容"
                      ></el-input>
                    </el-form-item>
                    <el-form-item label="招投标明细" class="dan">
                      <el-table
                        :data="form.pcmApplicationDetailList"
                        :row-class-name="rowPcmEvaluationRuleIndex"
                        border
                      >
                        <el-table-column
                          fixed="left"
                          align="center"
                          prop="index"
                          width="78"
                        />
                        <el-table-column
                          label="采购申请编号"
                          width="180"
                          align="center"
                          prop="purchaseRequestNumber"
                        />
                        <el-table-column
                          label="行号"
                          align="center"
                          width="162"
                          prop="demandLineNumber"
                        />
                        <el-table-column label="采购类型" width="160" align="center">
                          <template slot-scope="scope">
                            <dict-tag
                              :options="dict.type.sys_type_purchase"
                              :value="scope.row.typePurchase"
                            />
                          </template>
                        </el-table-column>
                        <el-table-column
                          label="产品编号"
                          width="180"
                          align="center"
                          prop="pcmMaterialRecord.productNumber"
                        />
                        <el-table-column
                          label="产品名称"
                          width="150"
                          align="center"
                          prop="pcmMaterialRecord.productName"
                        />
                        <el-table-column label="单位" align="center">
                          <template slot-scope="scope">
                            <dict-tag
                              :options="dict.type.sys_unit"
                              :value="scope.row.pcmMaterialRecord.unit"
                            />
                          </template>
                        </el-table-column>
                        <el-table-column
                          label="需求数量"
                          width="120"
                          align="center"
                          prop="requiredQuantity"
                        />
                        <el-table-column
                          label="期望到货时间"
                          width="120"
                          align="center"
                          prop="expectedDeliveryDate"
                        />
                        <el-table-column
                          label="期望供应商"
                          width="150"
                          align="center"
                          prop="expectedSupplierName"
                        />
                        <el-table-column
                          label="申请日期"
                          width="120"
                          align="center"
                          prop="applicationDate"
                        />
                        <el-table-column
                          label="申请人"
                          width="120"
                          align="center"
                          prop="personName"
                        />
                        <el-table-column
                          label="申请部门"
                          width="150"
                          align="center"
                          prop="deptName"
                        />
                      </el-table>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item label="项目名称">
                      <el-input :disabled="true" class="lala" v-model="form.pcmBiddingInviteTenders.projectName" />
                    </el-form-item>
                  </el-col>
                </el-col>
                <!-- 招标基本信息(供应商资格要求|保证金)-->
                <el-col :span="24">
                  <el-col :span="12">
                    <el-form-item label="供应商资格要求">
                      <el-input :disabled="true"
                        type="textarea"
                        v-model="form.pcmBiddingInviteTenders.supplierQualificationRequirements"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item label="保证金">
                      <el-input :disabled="true" v-model="form.pcmBiddingInviteTenders.deposit" class="lala"></el-input>
                    </el-form-item>
                  </el-col>
                </el-col>
                <!-- 招标基本信息(采购负责人|采购联系电话) -->
                <el-col :span="24">
                  <el-col :span="12">
                    <el-form-item label="采购负责人">
                      <el-input :disabled="true" v-model="form.pcmBiddingInviteTenders.fzr"/>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item label="采购联系电话">
                      <el-input :disabled="true" v-model="form.pcmBiddingInviteTenders.procurementContactNumber" class="lala"/>
                    </el-form-item>
                  </el-col>
                </el-col>
                <!-- 分割线---2、招标计划-->
                <el-col :span="24">
                  <MyDivider label="2、招标计划"></MyDivider>
                </el-col>
                <!-- 时间空间集合(开始并截止时间) -->
                <el-col :span="24">
                  <el-col :span="12">
                    <el-form-item label="报名截止时间">
                      <el-input :disabled="true" v-model="form.pcmBiddingInviteTenders.registrationDeadline"></el-input>
                    </el-form-item>
                    <el-form-item label="投标结束时间">
                      <el-input :disabled="true" v-model="form.pcmBiddingInviteTenders.biddingEndTime"></el-input>
                    </el-form-item>
                    <el-form-item label="计划开标时间">
                      <el-input :disabled="true" v-model="form.pcmBiddingInviteTenders.plannedBidOpeningTime"></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item label="投标开始时间">
                      <el-input :disabled="true" v-model="form.pcmBiddingInviteTenders.biddingStartTime"></el-input>
                    </el-form-item>
                    <el-form-item label="评标截止时间">
                      <el-input :disabled="true" v-model="form.pcmBiddingInviteTenders.evaluationDeadline"></el-input>
                    </el-form-item>
                  </el-col>
                </el-col>
                <!-- 分割线---3、邀标供应商-->
                <el-col :span="24">
                  <MyDivider label="3、邀标供应商"></MyDivider>
                </el-col>
                <!-- 供应商表格(供应商总数) -->
                <el-col :span="24">
                  <el-col :span="13">
                    <el-form-item label="选择要邀请的供应商">
                      <span style="color: #838892; font-size: 12px"
                        >只能邀请成功互联的供应商，1次操作不能超过200个供应商</span
                      >
                      <el-table
                        :data="form.pcmSupplierList"
                        :row-class-name="rowPcmEvaluationRuleIndex"
                        border
                      >
                        <el-table-column
                          fixed="left"
                          align="center"
                          prop="index"
                          width="70"
                        >
                        </el-table-column>
                        <el-table-column
                          label="供应商状态"
                          width="198"
                          align="center"
                        >
                          <template slot-scope="scope">
                            <dict-tag
                              :options="dict.type.pcm_supplier_states"
                              :value="scope.row.supplierStates"
                            />
                          </template>
                        </el-table-column>
                        <el-table-column
                          label="供应商全称"
                          prop="supplierFullName"
                          width="203"
                          align="center"
                        />
                        <el-table-column
                          label="供应产品类别"
                          width="198"
                          align="center"
                        >
                          <template slot-scope="scope">
                            <dict-tag
                              :options="dict.type.sys_sup_cat"
                              :value="scope.row.supplyProductCategory"
                            />
                          </template>
                        </el-table-column>
                      </el-table>
                    </el-form-item>
                    <el-form-item label="参与招投标供应商总数">
                      <el-input
                        :disabled="true"
                        placeholder="暂无内容"
                        style="width: 572px"
                        v-model="sumGys"
                      />
                    </el-form-item>
                  </el-col>
                </el-col>
                <!-- 分割线--4、标书--->
                <el-col :span="24">
                  <MyDivider label="4、标书"></MyDivider>
                </el-col>
                <!-- 标书&&评标下拉框&&评标表格 -->
                <el-col :span="24">
                  <el-col :span="12">
                    <el-form-item label="标书">
                      <el-upload :disabled="true" v-if="fileList.length>0"
                        drag
                        class="upload-demo"
                        :action="baseApi + '/file/uploadMinio'"
                        :headers="token"
                        :file-list="fileList"
                        list-type="picture"
                        multiple
                        ref="uploadBidDocs"
                      >
                        <!--  :file-list="fileList" -->
                        <el-button size="medium" :disabled="true" type="text" style="color: #00b899"
                          >选择</el-button
                        >
                        <span style="color: #b5b8be; margin-left: 10px"
                          >拖拽或粘贴文件，单个20MB以内</span
                        >
                      </el-upload>
                      <el-input :disabled="true" placeholder="暂无内容" v-else/>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item label="评标规则">
                      <el-input :disabled="true" v-model="form.pcmEvaluationCriteria.criteriaName"/>
                    </el-form-item>
                  </el-col>
                  <el-col :span="14" style="padding: 0">
                    <el-form-item label="评标规则" class="guize">
                      <el-table
                        :data="form.pcmEvaluationCriteria.pcmEvaluationRuleList"
                        :row-class-name="rowPcmEvaluationRuleIndex"
                        border
                      >
                        <el-table-column
                          fixed="left"
                          align="center"
                          prop="index"
                          width="70"
                        />
                        <el-table-column
                          label="评估项"
                          prop="evaluationItem"
                          width="222"
                          align="left"
                        />
                        <el-table-column
                          label="评分详情及标准"
                          prop="scoreDetailsAndStandards"
                          align="left"
                          width="235"
                        />
                        <el-table-column
                          label="最高分"
                          prop="maximumScore"
                          width="210"
                          align="left"
                        />
                      </el-table>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item label="满分">
                      <el-input
                        :disabled="true"
                        v-model="sumMaximumScore"
                        placeholder="暂无内容"
                      />
                    </el-form-item>
                  </el-col>
                </el-col>
                <!-- 分割线--5、评标专家--->
                <el-col :span="24">
                  <MyDivider label="5、评标专家"></MyDivider>
                </el-col>
                <!-- 评标专家表格 --->
                <el-col :span="24" style="margin-bottom: 80px">
                  <el-col :span="9" style="padding: 0">
                    <el-form-item label="专家明细" class="zjia">
                      <el-table
                        :data="form.pcmExpertEvaluationProcessList"
                        :row-class-name="rowPcmEvaluationRuleIndex"
                        border
                      >
                        <el-table-column
                          fixed="left"
                          align="center"
                          prop="index"
                          width="70"
                        >
                          <template slot-scope="scope">
                            <el-button
                              size="mini"
                              type="text"
                            >
                              {{ scope.row.index }}
                            </el-button>
                          </template>
                        </el-table-column>
                        <el-table-column label="专家" width="190" align="center" prop="expertName"/>
                        <el-table-column label="联系电话" align="center" width="213" prop="expertPhone"/>
                      </el-table>
                    </el-form-item>
                  </el-col>
                </el-col>
              </el-row>
            </el-form>
          </el-main>
          <el-footer style="margin-left: -20px;width: 87.6%;">
            <el-button type="success" @click="agreeWith">同意邀标</el-button>
            <el-button >取消</el-button>
          </el-footer>
        </el-container>
      </div>
    </el-dialog>

    <!-- 冯星瑞 报名弹框 -->
    <el-dialog title="报名 — 确认报名" :visible.sync="tanSupplier" width="1346px" v-if="this.shouYeXran.length>0">
      <div id="kansou" style="margin-bottom:48px;">
        <el-form label-position="top" ref="ruleForm" label-width="100px" class="demo-ruleForm">
          <el-form-item label="被邀标供应商">
            <el-input :disabled="true" v-model="applicationForm.supplierFullName"/>
          </el-form-item>
          <el-form-item label="项目名称">
            <el-input :disabled="true" v-model="applicationForm.pcmInvitedSupplier.projectName"></el-input>
          </el-form-item>
          <el-form-item label="招投标详情">
            <span style="color: #838892; font-size: 13px">邀标</span>
            <div id="bmbalademandList">
              <el-table  max-height="434" :data="shouYeXran">
                <el-table-column label="项目名称" align="left" prop="pcmBiddingInviteTenders.projectName" width="150"/>
                <el-table-column label="招投标需求明细" align="center">
                  <el-table-column label="产品编号" align="left" width="150">
                    <template slot-scope="scope">
                      <div v-for="(item,index) in scope.row.pcmApplicationDetailList" :key="index">
                        &nbsp;&nbsp;{{ item.pcmMaterialRecord.productNumber }}
                      </div>
                      <div v-for="num in scope.row.max - scope.row.pcmApplicationDetailList.length" :key="num+10"></div>
                    </template>
                  </el-table-column>
                  <el-table-column label="产品名称" align="left" width="140">
                    <template slot-scope="scope">
                      <div v-for="(item,index) in scope.row.pcmApplicationDetailList" :key="index">
                        {{ item.pcmMaterialRecord.productName }}
                      </div>
                      <div v-for="num in scope.row.max - scope.row.pcmApplicationDetailList.length" :key="num+10"></div>
                    </template>
                  </el-table-column>
                  <el-table-column label="单位" align="left" width="150">
                    <template slot-scope="scope">
                      <dict-tag v-for="(item,index) in scope.row.pcmApplicationDetailList" :key="index" :options="dict.type.sys_unit" :value="item.pcmMaterialRecord.unit"/>
                      <div v-for="num in scope.row.max - scope.row.pcmApplicationDetailList.length" :key="num+10"></div>
                    </template>
                  </el-table-column>
                  <el-table-column label="需求数量" align="left" prop="item.requiredQuantity" width="120">
                    <template slot-scope="scope">
                      <div v-for="(item,index) in scope.row.pcmApplicationDetailList" :key="index">
                        {{ item.requiredQuantity }}
                      </div>
                      <div v-for="num in scope.row.max - scope.row.pcmApplicationDetailList.length" :key="num+10"></div>
                    </template>
                  </el-table-column>
                  <el-table-column label="期望到货时间" align="left" prop="item.expectedDeliveryDate" width="150">
                    <template slot-scope="scope">
                      <div v-for="(item,index) in scope.row.pcmApplicationDetailList" :key="index">
                        {{ item.expectedDeliveryDate }}
                      </div>
                      <div v-for="num in scope.row.max - scope.row.pcmApplicationDetailList.length" :key="num+10"></div>
                    </template>
                  </el-table-column>
                </el-table-column>
                <el-table-column label="供应商资格要求" align="left" width="220">
                  <p slot-scope="scope" style="font-size: 13px;margin-top: 0;padding:0 6px;">
                      {{ scope.row.pcmBiddingInviteTenders.supplierQualificationRequirements }}
                  </p>
                </el-table-column>
                <el-table-column label="保证金" align="left" prop="pcmBiddingInviteTenders.deposit" width="100"/>
                <el-table-column label="采购负责人" align="left" prop="pcmBiddingInviteTenders.fzr" width="130" />
                <el-table-column label="采购联系电话" align="left" prop="pcmBiddingInviteTenders.procurementContactNumber" width="130" />
                <el-table-column label="报名截止时间" align="left" prop="pcmBiddingInviteTenders.registrationDeadline" width="180"/>
                <el-table-column label="投标开始时间" align="left" prop="pcmBiddingInviteTenders.biddingStartTime" width="180"/>
                <el-table-column label="投标结束时间" align="left" prop="pcmBiddingInviteTenders.biddingEndTime" width="180"/>
                <el-table-column label="评标截止时间" align="left" prop="pcmBiddingInviteTenders.evaluationDeadline" width="180"/>
                <el-table-column label="计划开标时间" align="left" prop="pcmBiddingInviteTenders.plannedBidOpeningTime" width="180"/>
                <el-table-column label="标书" align="left" width="100">
                  <template slot-scope="scope">
                    <span v-for="(item,index) in scope.row.pcmPublicAttachmentList" :key="index">
                      <el-image style="width: 40px; height: 40px;"  :src="item.attachmentAddress+item.attachmentName" :title="item.attachmentName" fit="cover">
                        <div slot="error" class="image-slot">
                          <img style="width: 30px;height: 36px;" :title="item.attachmentName" src="http://8.130.88.144:9000/xinghai/yiwenhao.png">
                        </div>
                      </el-image>
                    </span>
                  </template>
                </el-table-column>
                <el-table-column label="评标规则" align="left" prop="pcmEvaluationCriteria.criteriaName" width="150"/>
                <el-table-column label="评标规则" align="center" prop="projectStatus" >
                  <el-table-column label="评估项" align="left" prop="projectStatus" width="150">
                    <template slot-scope="scope">
                      <div v-for="(item,index) in scope.row.pcmEvaluationCriteria.pcmEvaluationRuleList" :key="index">
                        {{ item.evaluationItem }}
                      </div>
                      <div v-for="num in scope.row.max - scope.row.pcmEvaluationCriteria.pcmEvaluationRuleList.length" :key="num+10"></div>
                    </template>
                  </el-table-column>
                  <el-table-column label="评分详情及标准" align="left" prop="projectStatus"  width="300">
                    <template slot-scope="scope">
                      <div v-for="(item,index) in scope.row.pcmEvaluationCriteria.pcmEvaluationRuleList" :key="index">
                        {{ item.scoreDetailsAndStandards }}
                      </div>
                      <div v-for="num in scope.row.max - scope.row.pcmEvaluationCriteria.pcmEvaluationRuleList.length" :key="num+10"></div>
                    </template>
                  </el-table-column>
                  <el-table-column label="最高分" align="left" prop="projectStatus" width="100">
                    <template slot-scope="scope">
                      <div v-for="(item,index) in scope.row.pcmEvaluationCriteria.pcmEvaluationRuleList" :key="index">
                        {{ item.maximumScore }}
                      </div>
                      <div v-for="num in scope.row.max - scope.row.pcmEvaluationCriteria.pcmEvaluationRuleList.length" :key="num+10"></div>
                    </template>
                  </el-table-column>
                </el-table-column>
                <el-table-column label="满分" align="left" prop="sumCriteria" width="100" />
              </el-table>
            </div>
          </el-form-item>
          <el-form-item label="报名资格确认" required>
            <el-radio-group v-model="applicationForm.isAgreedInvitation">
              <el-radio label="0">我已认真阅读本次标书，确认参与本次招投标。</el-radio>
              <br/>
              <el-radio label="1">本次不参与，谢谢</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-form>
        <el-footer style="margin-left: -20px;width: 87.6%;">
          <el-button type="success" @click="applicationSubmit">提交</el-button>
        </el-footer>
      </div>
    </el-dialog>

    <!-- 冯星瑞 评标弹框 -->
    <el-dialog title="评标 — 专家评标" :visible.sync="tanExper" width="1346px">
      <div id="kansou" style="margin-bottom:48px;min-height: 466px;">
        <el-form label-position="top" label-width="100px" class="experTan">
          <el-form-item label="确认开始评标" required>
            <div id="duoBianDan">
              <el-checkbox-group v-model="tanxian">
                <el-checkbox :label="1">点击确定立即评标</el-checkbox>
              </el-checkbox-group>
            </div>
          </el-form-item>
          <div id="exper" v-show="tanxian==1">
            <el-form-item label="评标专家">
              <el-input :disabled="true" :value="experXq.evaluationContent.nickName"/>
            </el-form-item>
            <el-form-item label="招标项目编号" >
              <el-input :disabled="true" :value="experXq.evaluationContent.projectNumber"/>
            </el-form-item>
            <el-form-item label="招投标详情">
              <span style="color: #838892; font-size: 13px">邀标</span>
              <div id="expertbalademandList">
                <el-table  max-height="434" :data="experData">
                  <el-table-column label="项目名称" align="left" prop="pcmBiddingInviteTenders.projectName" width="150"/>
                  <el-table-column label="招投标需求明细" align="center">
                    <el-table-column label="产品编号" align="left" width="150">
                        <template slot-scope="scope">
                        <div v-for="(item,index) in scope.row.pcmApplicationDetailList" :key="index">
                            {{ item.pcmMaterialRecord.productNumber }}
                        </div>
                        </template>
                    </el-table-column>
                    <el-table-column label="产品名称" align="left" width="140">
                        <template slot-scope="scope">
                        <div v-for="(item,index) in scope.row.pcmApplicationDetailList" :key="index">
                            {{ item.pcmMaterialRecord.productName }}
                        </div>
                        </template>
                    </el-table-column>
                    <el-table-column label="单位" align="left" width="150">
                        <template slot-scope="scope">
                            <dict-tag v-for="(item,index) in scope.row.pcmApplicationDetailList" :key="index" :options="dict.type.sys_unit" :value="item.pcmMaterialRecord.unit"/>
                        </template>
                    </el-table-column>
                    <el-table-column label="需求数量" align="left" prop="item.requiredQuantity" width="120">
                        <template slot-scope="scope">
                        <div v-for="(item,index) in scope.row.pcmApplicationDetailList" :key="index">
                            {{ item.requiredQuantity }}
                        </div>
                        </template>
                    </el-table-column>
                    <el-table-column label="期望到货时间" align="left" prop="item.expectedDeliveryDate" width="150">
                        <template slot-scope="scope">
                        <div v-for="(item,index) in scope.row.pcmApplicationDetailList" :key="index">
                            {{ item.expectedDeliveryDate }}
                        </div>
                        </template>
                    </el-table-column>
                    </el-table-column>
                    <el-table-column label="供应商资格要求" align="left" width="220">
                      <p slot-scope="scope" style="font-size: 13px;margin-top: 0">
                          {{ scope.row.pcmBiddingInviteTenders.supplierQualificationRequirements }}
                      </p>
                    </el-table-column>
                    <el-table-column label="保证金" align="left" prop="pcmBiddingInviteTenders.deposit" width="100"/>
                    <el-table-column label="采购负责人" align="left" prop="pcmBiddingInviteTenders.fzr" width="130" />
                    <el-table-column label="采购联系电话" align="left" prop="pcmBiddingInviteTenders.procurementContactNumber" width="130" />
                    <el-table-column label="报名截止时间" align="left" prop="pcmBiddingInviteTenders.registrationDeadline" width="180"/>
                    <el-table-column label="投标开始时间" align="left" prop="pcmBiddingInviteTenders.biddingStartTime" width="180"/>
                    <el-table-column label="投标结束时间" align="left" prop="pcmBiddingInviteTenders.biddingEndTime" width="180"/>
                    <el-table-column label="评标截止时间" align="left" prop="pcmBiddingInviteTenders.evaluationDeadline" width="180"/>
                    <el-table-column label="计划开标时间" align="left" prop="pcmBiddingInviteTenders.plannedBidOpeningTime" width="180"/>
                </el-table>
              </div>
            </el-form-item>
            <el-form-item label="评标截至时间">
              <el-input :disabled="true" :value="formattedDate(experXq.evaluationContent.evaluationDeadline)"/>
            </el-form-item>
            <el-form-item label="标书">
              <div id="expertFile">
                <div v-for="(data,index) in exportChuLiFile" :key="index" style="width: 50%;padding: 4px;border: 1px solid #e6e6e6;margin-bottom: 10px;">
                  <a :href="data.attachmentAddress" target="_blank" style="display: flex; align-items:center;">
                    <img :src="data.attachmentAddress" @error="handleImageError" :title="data.attachmentName" class="expertWeiClass"/>
                  <span style="margin-left:10px;">{{ data.attachmentName }}</span>
                  </a>
                </div>
              </div>

                <!-- :file-list="fileList" -->
            </el-form-item>
            <el-form-item label="投标">
              <div id="pingbiaoGz">
                  <el-table :data="pcmEvaluationRuleDetailList" border :row-class-name="rowPcmEvaluationRuleIndex">
                    <el-table-column fixed="left" align="center" prop="index" width="90"/>
                    <el-table-column label="评估项" align="left" prop="pcmEvaluationRule.evaluationItem" width="180"/>
                    <el-table-column label="评分详情及标准" align="left" prop="pcmEvaluationRule.scoreDetailsAndStandards"  width="300"/>
                    <el-table-column label="最高分" align="left" prop="pcmEvaluationRule.maximumScore" width="174"/>
                    <el-table-column label="投标内容概述" align="left" width="300" prop="bidContentSummary"/>
                    <el-table-column label="评分理由" align="left" width="300" required>
                        <template slot-scope="scope">
                            <el-input v-model="scope.row.reasonForRating"/>
                        </template>
                    </el-table-column>
                    <el-table-column label="得分" align="left" width="200" required>
                        <template slot-scope="scope">
                            <el-input v-model="scope.row.mustScore"/>
                        </template>
                    </el-table-column>
                  </el-table>
              </div>
            </el-form-item>
            <el-form-item label="最终得分">
              <el-input :disabled="true" :value="expertSum"></el-input>
            </el-form-item>
          </div>
        </el-form>
        <el-footer style="margin-left: -20px;width: 87.6%;">
          <el-button type="success" @click="expertSub">提交</el-button>
        </el-footer>
      </div>
    </el-dialog>
</div>

</template>





<script>
  import {getList,Inquiryidaa,listInquiry,insertQuotation,selectproduct,updateproduct,selectQuo,updateAu,updateAuditRequest,updateRequest} from "@/api/mine/index";
  //供应商样品
  import {listManagement,getManagement,delManagement,addManagement,updateManagement} from "@/api/vendor/management";
  //供应商准入
  import {listAccess,getAccess,updateAccess,listXllb,getSupplier,getSupplier3,getSupplier2,} from "@/api/vendor/access";
  //供应商下拉列表标题
  import { listClause, getClause, delClause, addClause, updateClause,srmClause } from "@/api/vendor/clause";
  //修改得分
  import { updateRating } from "@/api/vendor/rating";
  import {getToken} from "@/utils/auth";
  import dict from "@/utils/dict";
  import {parseTime} from "../../utils/ruoyi";
  import MyDivider from "@/components/bidding/fgx.vue"; // 引入组件
  import { showAllByMiddleMainById,examinePassThrough,selApplicationGys,isApplicationGys,selByMiddleIdExpert,expertEvaluation } from "@/api/bidding/Inviting";
  import moment from 'moment'
  export default {
    components: {
    MyDivider, // 注册组件
  },
    name: "Index",
    dicts: ['pcm_supplier_states', 'sys_type_purchase', 'demand_line_status', 'sys_unit', 'sys_product_classification',
      'sys_sampleresults', 'sys_isign', 'sys_approvalstatus', 'sys_procestatus', 'sys_procestatu', 'sys_sup_cat',
      'sys_tar_rate', 'sys_seed_rice', 'sys_sup_cat', 'sys_certificate_category', 'sys_vendoreview'
    ],
    //计算属性
    computed: {
      shouYeXran(){
        console.info(this.applicationForm+"*********");
        return this.list.map(item=>{
          let cp = item.pcmApplicationDetailList.length;
          let gz = item.pcmEvaluationCriteria.pcmEvaluationRuleList.length;
          let zj = item.pcmExpertEvaluationProcessList.length;
          item.max = Math.max(cp,gz,zj);
          item.sumCriteria = item.pcmEvaluationCriteria.pcmEvaluationRuleList.reduce((total, rule) => {
            return total + rule.maximumScore;
          }, 0);
          return item;
        })
      },

      exportChuLiFile(){
          return this.expertFile.map(item=>{
            item.attachmentAddress = item.attachmentAddress+item.attachmentName;
            return item;
          })
      },

      expertSum(){
        return this.pcmEvaluationRuleDetailList.reduce((total, item) => {
                  return total + Number(item.mustScore);
        }, 0);
      },

      //计算得分
      srmtotalScore() {
        let sum = 0;
        for (let i = 0; i < this.pcmSupplierRatingList.length; i++) {
          sum += parseInt(this.pcmSupplierRatingList[i].score);
        }
        return isNaN(sum) ? '0' : sum;;
      },
      token() {
        return {
          Authorization: `Bearer ${getToken()}`,
        };
      },
      sumMaximumScore() {
        let sumMax = 0;
        this.form.pcmEvaluationCriteria.pcmEvaluationRuleList.map((item) => (sumMax += item.maximumScore));
        if (sumMax == 0) {
          return null;
        }
        return sumMax;
      },
      sumGys() {
        return this.form.pcmSupplierList.length;
      },
      fileList(){
        return this.form.pcmPublicAttachmentList.map(item=>{
          let obj = {};
          obj.name = item.attachmentName;
          obj.url = item.attachmentAddress+item.attachmentName;
          return obj;
        })
      }
    },
    //监听srmtotalScore
    watch: {
      srmtotalScore: {
        immediate: true, // 立即执行一次
        handler(newVal) {
          this.fromsrm.srmScore = newVal;
        }
      },
    },
    data() {
      return {
      //冯星瑞
      tanxian:0,
      //专家提交数据
      expertDataNum:{},
      numCishu:1,
      baseApi: process.env.VUE_APP_BASE_API,
      //选择的规则详细数据
      criteriaZiList: [],
      //邀标审核弹框
      tanInvitation:false,
      //供应商报名弹框
      tanSupplier:false,
      //专家评标弹框
      tanExper:false,
      //邀标审核回显数据
      form: {

      },
      //报名审核回显数据
      applicationForm:{

      },
      list:[],
        //总数据
        AuditList: [],
        Auditid: {
          pcmSupplierQuotation: {
            quoteStatus: 0
          },
          pcmQuotationProductList: []
        },
        InquiryDemode: {
          userlist: {
            dept: {
              deptName: ""
            }
          }
        },
        InquiryDemode2: [],
        product: [{
          productquotationID: "",
          quotationProductID: "",
          pcmMaterialRecord: "",
          firstQuotation: "",
          secondQuotation: "",
          thirdQuotation: "",
          quotationID1: "",
          estimatedDeliveryTime: "",
          requiredQuantity: "",
          quoteStatus: "",
          pcmSupplierQuotation: ""
        }],
        product2: [],
        product3: [],
        outerVisible: false,
        interVisible: false,
        multiple: false,
        queryParams: {
          pageNum: 1,
          pageSize: 5,
        },
        total: 0,
        pickerOptions: {
          disabledDate(time) {
            return time.getTime() > Date.now();
          },
        },
        upload: {
          // 上传的文件列表
          fileList: [],
          // 是否禁用上传
          isUploading: false,
          // 设置上传的请求头部
          headers: {
            Authorization: "Bearer " + getToken()
          },
          // 上传的地址
          url: process.env.VUE_APP_BASE_API + "/inquiry/mine/upload1",
        },
        title: "",
        title3: "",
        judgment: false,
        judgment2: false,
        judgment3: true,
        judgment4: false,
        redis: 1,
        //文志海
        //上传后的文件列表
       // fileList: [],
        listfile:[],
        // 允许的文件类型
        fileType: [ "pdf", "doc", "docx", "xls", "xlsx","txt","png","jpg", "bmp", "jpeg"],
        // 运行上传文件大小，单位 M
        fileSize: 50,
        // 附件数量限制
        fileLimit: 5,
        //请求头
        headers: {
         Authorization: "Bearer " + getToken()
        },
        // 上传的地址
        url: process.env.VUE_APP_BASE_API + "/inquiry/mine/upload1",


        //选择准入条例标题下拉列表
        accessListXllb: [],
        // 供应商条列内容表格数据
        pcmSupplierRatingList: [],
        supplierClauseID: "",
        //供应商ID
        supplierSampleManagementID: "",
        srmID: "",
        firmID: "",
        //默认供应商状态
        zhuantai: '潜在供应商',
        //供应商全称
        deptName: "",
        //供应商
        ManagemenTitle: "",
        //样品表格数据
        PcmsuppliersamplemanagementDate: {
          sampleResultsValue: "",
          isSignValue: "",
          id: "",
        },
        //供应商全称
        deptName2: "",
        //样品表单校验
        rules: {
          isSign: [{
            required: true,
            message: "样品是否签收",
            trigger: "blur"
          }],
          // vendorReview: [
          //   {required: true, message: "请填写「是否同意进入准入评估?」", trigger: "change"},
          // ],
        },
        pssmOpn: false,
        srmOpn: false,
        //满分
        totalScoreSrm: "",
        //通过
        vendorreviews: "",
        //数据显示
        fromsrm: {
          vendorReview :"",
          srmID :"",
          score:"",
          illustrate:"",
          attachment:"",
          supplierClauseID:"",
          srmScore :"",
          clauseTitle:"",
        },
        // 供应商联系人表格数据
        contactList: [],
        // 供应商资料档案表格数据
        archiveList: [],
        // 供应商表格数据
        supplierList: [],
        //标题
        titlesrm: "供应商准入 — 采购主管初审",
        // 总条数
        total1: 0,
        total2: 0,
        total3: 0,
        queryParams1: {
          pageNum: 1,
          pageSize: 10,
          supplierFullName: null,
          certificateName: null,
        },
        queryParams2: {
          pageNum: 1,
          pageSize: 10,
          supplierFullName: null,
          certificateName: null,
        },
        queryParams3: {
          pageNum: 1,
          pageSize: 10,
          supplierFullName: null,
          certificateName: null,
        },
        // 样品类型显示
        sampleType(sampleTypeValue) {
          for (let item of this.dict.type.sys_product_classification) {
            if (sampleTypeValue == item.value) {
              return item.label
            }
          }
        },
        //审批状态
        approvalStatus(sampleTypeValue) {
          for (let item of this.dict.type.sys_approvalstatus) {
            if (sampleTypeValue == item.value) {
              return item.label
            }
          }
        },
        //李杨
        flay: false,
        radio: null,
        TypePurchase: null,
        pcmPurchaseRequestName: null,
        supperName: null,
        pcmPurchaseRequest: {},
        radioGroupBgColor: null,

        //冯星瑞
        experData:[],
        pcmEvaluationRuleDetailList:[],
        experXq:{"evaluationContent":{}},
        expertFile:[],
      }
    },


    created() {
      //页面刷新方法
      this.ListAudit();
      //供应商标题下拉列表
      this.getListXllb();
    },
    methods: {
      expertSub(){
        this.expertDataNum.auditId= this.experXq.auditId;
        this.expertDataNum.expertSupplierId= this.experXq.auditTableNumber;
        this.expertDataNum.pcmEvaluationRuleDetailList = this.pcmEvaluationRuleDetailList;
        expertEvaluation(this.expertDataNum).then(response=>{
          if(response){
            this.$message({
              showClose: true,
              message: "评标成功",
              type: 'success'
            });
            this.tanExper = false;
            this.ListAudit();
          }
        })
      },
      handleImageError(event){
        event.target.src = "http://8.130.88.144:9000/xinghai/lala.jpg";
      },
      formattedDate(evaluationDeadline){
         return moment(evaluationDeadline).format('YYYY-MM-DD HH:mm:ss');
      },
      tanExpert(item){
        this.experData = [];
        this.tanxian = 0;
        this.experXq = item;
          this.tanExper= true;
          var obj = {};
          obj.middleId = item.evaluationContent.middleId
          obj.supplierId = item.evaluationContent.supplierId
          selByMiddleIdExpert(obj).then(response=>{
            obj = {};
            obj.pcmBiddingInviteTenders = response.pcmBiddingInviteTenders;
            obj.pcmApplicationDetailList = response.pcmApplicationDetailList;
            this.experData.push(obj);
            this.pcmEvaluationRuleDetailList = response.pcmEvaluationRuleDetailList;
            this.expertFile = response.pcmPublicAttachmentList;
            console.log("this.expertFile",this.expertFile);
          })
      },
    //弹出供应商报名窗口
    tanGysk(item){
      this.tanSupplier = true;
      this.applicationForm = item;
      this.list = [];
      selApplicationGys(item.pcmInvitedSupplier.middleId).then((response)=>this.list.push(response));
    },
    //供应商确认报名或者取消报名
    applicationSubmit(){
      var obj = {};
      obj.auditId = this.applicationForm.auditId
      obj.middleId = this.applicationForm.pcmInvitedSupplier.middleId;
      obj.supplierid =  this.applicationForm.supplierid;
      obj.isAgreedInvitation = this.applicationForm.isAgreedInvitation;
      obj.evaluationRuleIds = this.list[0].pcmEvaluationCriteria.pcmEvaluationRuleList.map(item=>item.evaluationRuleId);
      console.log("obj",obj);
      let mess = obj.isAgreedInvitation == "0"?"报名成功":"取消成功";
      isApplicationGys(obj).then((response)=>{
        if(response){
          this.$message({
            message: mess,
            type: 'success'
          });
          this.tanSupplier = false;
          this.ListAudit();
        }

      })
    },
    //弹出邀标审核框
    invitationReviewInformation(middleId,auditId){
      showAllByMiddleMainById(Number(middleId)).then((response) => {
        this.tanInvitation = true;
        this.form = response;
        this.form.auditId = auditId;
      });
    },
    //同意邀标
    agreeWith(){
      let formData = {};
      formData.auditId = this.form.auditId;
      formData.projectInviteId = this.form.projectInviteId;
      formData.middleId = this.form.middleId;
      formData.registrationDeadline = this.form.pcmBiddingInviteTenders.registrationDeadline;
      formData.biddingStartTime = this.form.pcmBiddingInviteTenders.biddingStartTime;
      formData.biddingEndTime = this.form.pcmBiddingInviteTenders.biddingEndTime;
      formData.evaluationDeadline = this.form.pcmBiddingInviteTenders.evaluationDeadline;
      formData.plannedBidOpeningTime = this.form.pcmBiddingInviteTenders.plannedBidOpeningTime;
      formData.pcmSupplierList = this.form.pcmSupplierList.map(item=>item.supplierID2)
      console.log("formData",formData);
      examinePassThrough(formData).then((response)=>{
        console.info(response);
        this.$message({
          message: '审核成功',
          type: 'success'
        });
        this.tanInvitation = false;
        this.ListAudit();
      })
    },
    /** 评标规则序号 */
    rowPcmEvaluationRuleIndex({ row, rowIndex }) {
      row.index = rowIndex + 1;
    },

      getDefaultTime() {
      const now = new Date();
      const hours = now.getHours().toString().padStart(2, "0");
      const minutes = now.getMinutes().toString().padStart(2, "0");
      const seconds = now.getSeconds().toString().padStart(2, "0");
      return `${hours}:${minutes}:${seconds}`;
    },

      async ListAudit() {
        const cos = await getList();
        this.AuditList = cos.rows;
      },
      InquiryId(quiry) {
        if(quiry.avatar==null||quiry.avatar==undefined||quiry.avatar==""){
          quiry.avatar="http://8.130.88.144:9000/xinghai/2023/12/25/blob_20231225210555A003.png";
        }
        if (quiry.auditTableYwName == "pcm_supplier_quotation") {
          return 1
        } else if (quiry.auditTableYwName == "pcm_supplier_sample_management") {
          return 2
        } else if (quiry.auditTableYwName == "srm_approvals") {
          return 3
        } else if (quiry.auditTableYwName == "pcm_purchase_request") {
          return 4
        } else if (quiry.auditTableYwName == "pcm_bidding_middle") {
          return 5;
        } else if (quiry.auditTableYwName == "pcm_invited_supplier") {
          return 6;
        } else if (quiry.auditTableYwName == "pcm_expert_supplier") {
          return 7;
        }else {
          return false;
        }
      },


      //周智
      cardclick(item) {
        if (item.pcmSupplierQuotation.sysFile.length !== 0) {
          this.upload.fileList = item.pcmSupplierQuotation.sysFile;
        }
        if (item.pcmQuotationProductList.length === 0) {
          this.title3 = "供应商报价——供应商报价"
        } else if (item.pcmSupplierQuotation.quoteStatus === 1) {
          this.title3 = "供应商报价——多次询价确认"
          this.judgment3 = false;
          this.judgment4 = true
        } else if (item.pcmSupplierQuotation.quoteStatus === 2) {
          if (item.pcmQuotationProductList[0].firstQuotation != null && item.pcmQuotationProductList[0].secondQuotation == null) {
            this.judgment = true
            this.title3 = "供应商报价——二次报价"
        }
        if (item.pcmQuotationProductList[0].secondQuotation !== null) {
          this.title3 = "供应商报价——三次报价"
          this.judgment = true
          this.judgment2 = true
        }
        }
        this.Auditid = item;
        this.product = [{
          productquotationID: "",
          quotationProductID: "",
          pcmMaterialRecord: "",
          firstQuotation: "",
          secondQuotation: "",
          thirdQuotation: "",
          quotationID1: "",
          estimatedDeliveryTime: "",
          requiredQuantity: "",
          quoteStatus: "",
          pcmSupplierQuotation: "",
          sysFile: []
        }];
        const aaa = this.Auditid;
        if (this.Auditid.pcmQuotationProductList.length !== 0) {
          selectQuo(item.auditTableNumber).then(e => {
            this.product = e.rows
            this.product.forEach(e => {
              e.sysFile = item.pcmSupplierQuotation.sysFile
            })
          })
        }
        listInquiry(this.Auditid.pcmInquiryDemand.inquiryDemandNumber).then(res => {
          this.InquiryDemode = res.data;
          this.InquiryDemode2 = [res.data];
          this.outerVisible = true;
        })
      },
      qtCard() {
        this.interVisible = true;
        this.product2 = this.InquiryDemode.pcmApplicationDetailList
        this.product = [];
      },
      handleSelectionChange(selection) {
        this.product3 = selection;
        this.multiple = !selection.length
      },
      subapp() {
        this.interVisible = false;
        console.log(this.product3)
        this.product3.forEach(e => {
          Inquiryidaa(e.inquiryDemandNumber, this.Auditid.auditTableNumber).then(rew => {
            this.product.push({
              productquotationID: "",
              quotationProductID: "",
              pcmMaterialRecord: e.productNumbera,
              estimatedDeliveryTime: "",
              firstQuotation: "",
              secondQuotation: "",
              thirdQuotation: "",
              requiredQuantity: e.requiredQuantity,
              quotationID1: rew.data.quotationID,
              pcmSupplierQuotation: rew.data,
              quoteStatus: "",
              sysFile: []
            })
          })
        })
      },
      guan(){
        this.interVisible=false;
      },
      async handleQuery() {
      console.log(this.Auditid)
        if (this.Auditid.pcmQuotationProductList.length !== 0) {
          if (this.redis == 2) {
            if (this.product[0].secondQuotation === null) {
              this.product[0].pcmSupplierQuotation.quoteStatus = 2
              await updateproduct(this.product,this.Auditid)
              this.$modal.msgSuccess("提交成功")
              this.redis == 1
            } else {
              this.Auditid.circulationStatus = 2;
              this.product.forEach(e => {
                e.finalprice = e.secondQuotation;
              })
              await updateproduct(this.product,this.Auditid);
              await updateAu(this.Auditid).then(e => {
                this.$modal.msgSuccess("提交成功")
              })
            }
          } else if (this.redis == 3) {
            if (this.product[0].thirdQuotation != null) {
               this.Auditid.circulationStatus = 2;
              this.product.forEach(e => {
                e.finalprice = e.thirdQuotation;
              })
              await updateproduct(this.product,this.Auditid)
              await updateAu(this.Auditid).then(e => {
                this.$modal.msgSuccess("提交成功")
              })
            } else if (this.product[0].secondQuotation != null) {
              this.product[0].pcmSupplierQuotation.quoteStatus = 2
              await updateproduct(this.product,this.Auditid)
              this.$modal.msgSuccess("提交成功")
            }
          } else if (this.redis == 1) {
            if (this.Auditid.pcmSupplierQuotation.quoteStatus==1){
              this.Auditid.circulationStatus = 2;
              this.product.forEach(e => {
                e.finalprice = e.firstQuotation;
              })
              await updateproduct(this.product,this.Auditid);
              await updateAu(this.Auditid).then(e => {
                this.$modal.msgSuccess("提交成功")
              })
            }
            this.product[0].pcmSupplierQuotation.quoteStatus = 1
            await updateproduct(this.product,this.Auditid)
            this.$modal.msgSuccess("提交成功")
            this.redis == 1
          }

        } else {
           await insertQuotation(this.product,this.Auditid).then(rew => {
            this.$modal.msgSuccess("提交成功");
          })
        }
        this.ListAudit()
        this.guanbi()
        this.outerVisible = false;
      },
      resetQuery() {
        this.outerVisible = false;
      },
      // 文件提交处理
      submitUpload() {
        this.$refs.upload.submit();
      },
      // 文件上传中处理
      handleFileUploadProgress(event, file, fileList) {
        console.log(file)
        this.upload.isUploading = true;
      },
      // 文件上传成功处理
      handleFileSuccess(response, file, fileList) {
        //console.log(file)
        this.upload.isUploading = false;
        this.product.forEach(e => {
          if (e.sysFile === null) {
            e.sysFile = []
          }
          e.sysFile.push({name: file.name, url: response.fileName})
        })
      },
      beforeRemove(file, fileList) {
        return this.$confirm(`确定移除 ${file.name}？`);
      },
      panduan() {
        if (this.Auditid.pcmQuotationProductList.length === 0) {
          return true
        } else {
          return false
        }
      },
      xiansi(item) {
        if (item.pcmQuotationProductList.length == 0) {
          return "供应商报价"
        } else if (item.pcmSupplierQuotation.quoteStatus == 1) {
          return "多次询价确认"
        } else if (item.pcmSupplierQuotation.quoteStatus == 2) {
        if (item.pcmQuotationProductList[0].firstQuotation != null && item.pcmQuotationProductList[0].secondQuotation == null) {
          return "二次报价"
        }
        if (item.pcmQuotationProductList[0].secondQuotation !== null) {
          return "三次报价"
        }
        }
      },
      guanbi() {
        this.judgment = false;
        this.judgment2 = false;
        this.Auditid = {pcmSupplierQuotation: {quoteStatus: 0}, pcmQuotationProductList: []};
        this.title3 = "";
        this.outerVisible = false;
        this.redis = 1
        this.judgment3 = true;
        this.judgment4 = false;
        this.upload.fileList=[];
        console.log(this.upload.fileList)
      },
      biaoti() {
        if (this.Auditid.pcmQuotationProductList.length == 0) {
          return "供应商报价——供应商报价"
        } else if (this.Auditid.pcmSupplierQuotation.quoteStatus == 1) {
          return "供应商报价——多次询价确认"
        } else if (this.Auditid.pcmSupplierQuotation.quoteStatus == 2) {
          if (this.Auditid.pcmQuotationProductList[0].firstQuotation != null && this.Auditid.pcmQuotationProductList[0].secondQuotation == null) {
            return "供应商报价——二次报价"
          }
          if (this.Auditid.pcmQuotationProductList[0].secondQuotation !== null) {
            return "供应商报价——三次报价"

          }
        }
      },
      //文志海

      //上传文件之前
      beforeUpload(file){
      	if (file.type != "" || file.type != null || file.type != undefined){
      	    //截取文件的后缀，判断文件类型
      		const FileExt = file.name.replace(/.+\./, "").toLowerCase();
      		//计算文件的大小
      		const isLt5M = file.size / 1024 / 1024 < 50; //这里做文件大小限制
      		//如果大于50M
      		if (!isLt5M) {
      			this.$message.error('上传文件大小不能超过 50MB!');
      			return false;
      		}
      		//如果文件类型不在允许上传的范围内
      		if(this.fileType.includes(FileExt)){
      			return true;
      		}
      		else {
      			this.$message.error("上传文件格式不正确!");
      			return false;
      		}
      	}
      },

      //这是我自定义的移除事件
      handleRemove(i){
      	this.listfile.splice(i,1);//删除上传的文件
      	if(this.listfile.length == 0){//如果删完了
      		this.fileflag = true;//显示url必填的标识
      		this.$set(this.rules.url,0,{ required: true, validator: this.validatorUrl, trigger: 'blur' })//然后动态的添加本地方法的校验规则
      	}
      },

      //超出文件个数的回调
      handleExceed(){
      	this.$message({
      		type:'warning',
      		message:'超出最大上传文件数量的限制！'
      	});return
      },
      handlesuccess(file, index) {
         this.$modal.msgSuccess("文件上传成功");
         let filePath = file.data.url; // 假设返回的响应中包含了文件路径信息
         this.pcmSupplierRatingList[index].attachment = filePath; // 假设attachment字段用于存储文件路径
       },
      //点击供应商样品的页面展示
      PcmSupplierSampleManagementClick(item) {
        this.pssmOpn = true;
        this.supplierSampleManagementID = item.pcmSupplierSampleManagementList.supplierSampleManagementID;
        this.ManagemenTitle = "供应商供应样品管理 - 样品接收";
        this.handleUpdate(this.supplierSampleManagementID);
      },
      //列表显示ID
      handleUpdate(supplierSampleManagementID) {
        getManagement(supplierSampleManagementID).then(response => {
          this.PcmsuppliersamplemanagementDate = response.data;
          this.deptName = response.data.sysDeptList[0].deptName;
        });
      },
      //修改供应商样品
      submitForm() {
        updateManagement(this.PcmsuppliersamplemanagementDate).then(response => {
          this.$modal.msgSuccess("修改成功");
          this.pssmOpn = false;
          //刷新页面
          this.ListAudit();
        });
      },
      //供应商准入
      submitFormAdd(){
        if(this.vendorreviews != this.fromsrm.vendorReview){
           //修改准入
         updateAccess(this.fromsrm).then(response => {
          this.$modal.msgSuccess("修改成功");
          this.srmOpn = false;
          //刷新页面
          this.ListAudit();
          });

        }
         if(this.pcmSupplierRatingList[0].score != null){

             srmClause(this.fromsrm).then(response => {

             });
           for (let i = 0; i < this.pcmSupplierRatingList.length; i++) {
             let item = this.pcmSupplierRatingList[i];
             updateRating(item).then(response => {
             });
          }
           this.$modal.msgSuccess("修改成功");
           this.srmOpn = false;
           this.ListAudit();
         }
      },
      //点击事件
      srmApprovalsClick(item) {
        this.srmOpn = true;
        this.srmID = item.srmApprovals.srmID;
        this.supplierClauseID = item.srmApprovals.accRegu;
        this.getSupplierClauseID();
        this.showlistAccess();
      },
      showlistAccess() {
      //  显示数据
        getAccess(this.srmID).then(response => {
          this.fromsrm = response.data;
          //console.log("标题：",this.fromsrm)
          this.fromsrm.supplierClauseID = this.fromsrm.accRegu;
          this.fromsrm.clauseTitle =this.srmID;
          this.deptName2 = this.fromsrm.sysDeptList[0].deptName; //公司名称
          this.vendorreviews =this.fromsrm.vendorReview;
          if(this.vendorreviews != null ){
            this.titlesrm="供应商准入 — 准入评估";
          }

          //显示表格数据
          this.getSupplierList();
          this.getSupplierList2();
          this.getSupplierList3();
        })
      },
      getSupplierList() {
        getSupplier(this.fromsrm.userId).then(response => {
          this.supplierList = response.rows;
          this.total1 = response.total;
        });
      },
      getSupplierList2() {
        getSupplier2(this.fromsrm.userId).then(response => {
          this.contactList = response.rows;
          this.total2 = response.total;
        });
      },
      getSupplierList3() {
        getSupplier3(this.fromsrm.userId).then(response => {
          this.archiveList = response.rows;
          this.total3 = response.total;
        });
      },
      //下拉列表
      getSupplierClauseID() {
        getClause(this.supplierClauseID).then(response => {
          this.form = response.data;
          this.pcmSupplierRatingList = response.data.pcmSupplierRatingList;
          //满分算法
          let totalScore = 0;
          for (let i = 0; i < this.pcmSupplierRatingList.length; i++) {
            const score = parseFloat(this.pcmSupplierRatingList[i].topcore); // 得分
            if (typeof score === 'number') {
              totalScore += score;
            } else {
              console.error(`不是有效数字`, score);
            }
          }
          // 将计算出的总分赋给 this.totalScoreSrm
          this.totalScoreSrm = totalScore;
        });
      },
      //点击下拉显示数据
      getListXllb() {
        listXllb(this.queryParams).then(response => {
          this.accessListXllb = response.rows;
        });
      },
      //准入清空
      srmcancel(){
       this.srmOpn = false;
       this.titlesrm="供应商准入 — 采购主管初审";
       this.vendorreviews = null;
       this.ListAudit();
      },
     // 样品清空
      managementCancel(){
        this.pssmOpn = false;
        this.ListAudit();
      },

		//李杨
		  Commit(){
			 if (this.radio === ''||this.radio===null) {
			        this.$message.error('请选择一个选项');
			        this.$nextTick(() => {
              const radioGroupEl = this.$refs.myRadioGroup.$el;
                   if (radioGroupEl) {
                     radioGroupEl.scrollIntoView({ behavior: 'smooth', block: 'start' });
                     this.radioGroupBgColor = '#FEF6E6'; // 改变背景颜色
                     setTimeout(() => {
                       this.radioGroupBgColor = 'white'; // 恢复原始背景颜色
                     }, 3000);
                   }
			        });
			      } else {
			    // 执行提交操作
					var	PcmAudit={
							auditTableNumber:this.pcmPurchaseRequest.purchaseRequestNumber,
							circulationStatus:2
						}
					var PcmPurchaseRequest={
							purchaseStatus:this.radio,
							purchaseRequestNumber:this.pcmPurchaseRequest.purchaseRequestNumber
					}
						updateAuditRequest(PcmAudit).then(e=>{
						this.$modal.msgSuccess("提交成功");
						updateRequest(PcmPurchaseRequest);
						this.flay=false;
						this.ListAudit();
						this.AuditList.forEach(item=>{
						this.InquiryId(item);
						})
					})
			}
		},
		PcmPurchaseRequestClick(item){
			this.flay=true;
			this.supperName=item.supplierFullName;
			this.pcmPurchaseRequest=item.pcmPurchaseRequest;
			this.pcmPurchaseRequestName=this.pcmPurchaseRequest.userName
			this.TypePurchase= this.dict.type.sys_type_purchase.find(dict => dict.value == this.pcmPurchaseRequest.purchaseType).label;

		}
    //冯星瑞







    }
  }
</script>



<style scoped lang="scss">
.text {
  font-size: 14px;
}
.tx{
  width: 35px;
  height:35px;
  border: 1px solid;
  border-radius: 50%;
  float: left;
  position: relative ;
  top: 10px;
  margin: 0px 10px 0px 20px;
}

.item {
  margin-bottom: 18px;
  margin-top: 18px;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both
}

.box-card {
  margin: 10px 20px 20px 20px;
}
.name{
  position: relative ;
  top: 18px;
}

::v-deep #pingbiaoGz .el-table .cell{
  text-overflow: revert;
}
::v-deep .el-upload-dragger{
  width: 300px;
  height: 30px;
}
::v-deep .el-card__body{
  padding: 20px;
}
::v-deep .el-descriptions-item__container .el-descriptions-item__content {
  font-weight: 600;
  max-width: 320px;
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
::v-deep .el-descriptions__body{
  color: #606266;
}
::v-deep .el-descriptions-item__label:not(.is-bordered-label){
  font-size: 12px;
}
</style>


<style scoped>
::v-deep #alba .cell{
  padding: 0;
}
::v-deep #alba .el-table .el-table__cell{
  padding: 0;
}
::v-deep #pingbiaoGz .el-table .cell{
  padding: 0 10px;
}
::v-deep #pingbiaoGz .el-input{
    margin-left: -4px;
    width: 103%;
  }
  ::v-deep #pingbiaoGz .el-input--medium .el-input__inner{
      margin: 4px 0;
      height: 30px;
      line-height: 30px;
  }
  ::v-deep #pingbiaoGz .el-table .cell{
      font-size: 13px;
  }
  ::v-deep #pingbiaoGz .el-table .el-table__header-wrapper th, .el-table .el-table__fixed-header-wrapper th{
      height: 30px;
  }
  ::v-deep #pingbiaoGz .el-table th.el-table__cell > .cell{
    padding-left: 10px;
  }
::v-deep #kansou .el-radio__label{
  border-color: rgb(63, 140, 255);
  color: rgb(255, 255, 255);
  background: rgb(63, 140, 255);
  padding: 6px;
  font-size: 13px;
  line-height: 18px;
  border: 1px solid #f0f1f4;
  border-radius: 4px;
  margin-left: 6px;
}
::v-deep #kansou .el-radio:last-child .el-radio__label{
  border-color: rgb(47, 205, 110);
  color: rgb(255, 255, 255);
  background: rgb(47, 205, 110);
}
::v-deep #kansou .el-table .el-table__cell{
  padding: 0;
}
::v-deep #kansou .el-radio{
  margin-top: 16px;
}
#tkShenHe >>> input{
  color: #141e31;
}
#tkShenHe >>> textarea{
  color: #141e31;
}
#kansou >>> input{
  color: #141e31;
}
.supplierTableCss >>> .el-table--medium .el-table__cell {
  padding: 4px 8px 4px 10px;
}
::v-deep .el-table--border .el-table__cell:first-child .cell {
  padding-left: 0;
}
::v-deep #bmbalademandList >>> .el-table--border .el-table__cell:first-child .cell {
  padding-left: 10px;
}
.supplierTableCss >>> .el-table th.el-table__cell > .cell {
  padding-right: 0;
}
.el-form--inline >>> .el-form-item {
  margin-right: 7px;
}
::v-deep #bmbalademandList .cell div {
  padding: 2px 0;
  border-bottom: 1px solid #dfe6ec;
  height: 55px;
  /* overflow: hidden; */
}
::v-deep .cell div:nth-last-child(1) {
  border-bottom: 0px;
  padding: 4px 0px 0px 0px;
}
::v-deep .cell {
  padding: 0px;
}
::v-deep .el-dialog__body {
  border-bottom: 1px solid #ebecee;
}

::v-deep .el-table--medium .el-table__cell {
  padding: 4px 0px;
}
.guize >>> .el-table--medium .el-table__cell {
  padding: 6px 14px 6px 6px;
}
.zjia >>> .el-table--medium .el-table__cell {
  padding: 2px 4px 4px;
}
::v-deep .el-table th.el-table__cell > .cell {
  padding-left: 0px;
}

::v-deep #bmbalademandList .el-table th.el-table__cell > .cell {
  padding-left: 10px;
}

::v-deep .el-upload-dragger {
  width: 354px;
  height: 38px;
  text-align: left;
  padding-left: 30px;
  border-radius: 2px;
}
::v-deep .el-upload-list {
  margin-top: -16px;
}
/* ::v-deep .el-upload-list--picture .el-upload-list__item-thumbnail {
  width: 38px;
  height: 38px;
} */
::v-deep .el-upload-list--picture .el-upload-list__item {
  height: 52px;
  border-radius: 4px;
  padding: 6px 10px 10px 88px;
  background-color: #f5f6f8;
}
::v-deep .el-upload-list--picture .el-upload-list__item-name{
  margin-top: 6px;
  margin-left: -24px;
}
::v-deep .el-upload-list--picture .el-upload-list__item-name i{
  font-size: 40px;
  margin-top: -4px;
}
#addyang {
  margin: 10px 0 20px 0;
}
::v-deep .el-button--text {
  color: black;
}
::v-deep .el-date-editor.el-input {
  width: 408px;
}
::v-deep .el-textarea__inner {
  height: 150px !important;
  height: 40px;
}
.el-main >>> {
  background-color: white;
}
.el-footer >>> {
  border-top: 1px dashed #e1e3e5;
  width: 100%;
  position: fixed;
  z-index: 1000;
  bottom: 0px;
  padding-top: 10px;
  background-color: white;
}
.el-footer .el-button--medium >>> {
  width: 128px;
  height: 32px;
}
.el-form--label-top >>> .el-form-item__label {
  padding: 0;
  color: #141e31;
  font-weight: 600;
}
.el-input.is-disabled >>> .el-input__inner {
  border: 0;
  cursor: default;
}
.el-col-12 >>> {
  padding: 7px 52px 12px 0 !important;
}
.el-form-item >>> {
  margin-bottom: 10px;
}
.dan >>> .el-form-item__label {
  color: #141e31;
  font-weight: 400;
}
.el-table >>> thead >>> th {
  padding: 0 !important;
}

::v-deep .el-upload-list--picture .el-upload-list__item-thumbnail {
  position: relative;
}
::v-deep .el-upload-list--picture .el-upload-list__item-thumbnail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('http://8.130.88.144:9000/xinghai/lala.jpg');
  background-size: cover;
  /* 其他样式，根据需要自行调整 */
}

::v-deep .el-upload-list--picture .el-upload-list__item-thumbnail{
  width: 40px;
  height: 40px;
}

::v-deep .el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name{
  margin-left: -20px;
  line-height:44px;
  padding-left:0px;
}

::v-deep .el-table .el-table__fixed-header-wrapper th{
    height: 36px;
  }
  ::v-deep .el-table .el-table__header-wrapper th{
      height: 36px;
  }
  ::v-deep #bmbalademandList .cell div {
    padding: 2px 0;
    border-bottom: 1px solid #dfe6ec;
    height: 30px;
    margin-left: -10px;
    padding-left: 10px;
  }
  ::v-deep #bmbalademandList .cell .el-image {
    border-bottom: 0;
  }
  ::v-deep #bmbalademandList .cell .el-image .image-slot{
    border-bottom: 0;
  }
::v-deep #bmbalademandList .el-table .cell{
  padding-left:10px;
}
  ::v-deep .cell div:nth-last-child(1) {
    border-bottom: 0px;
  }
  ::v-deep .cell {
    padding: 0px;
    font-size: 14px;
    padding-left: 10px;
    font-family: -apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
  }
  ::v-deep .cell>span:nth-child(even) {
    padding-left: 6px;
  }
  ::v-deep .el-table--medium .el-table__cell{
    padding: 6px 0 0 0;
  }
  ::v-deep .el-table .el-table__cell{
    padding: 6px 0 0 0;
  }
  ::v-deep #pingbiaoGz .el-table--enable-row-transition .el-table__body td.el-table__cell{
    vertical-align: text-top;
  }
  ::v-deep .el-table--enable-row-transition .el-table__body td.el-table__cell{
    vertical-align: top;
  }
  ::v-deep .el-table th.el-table__cell > .cell{
    font-size: 13px;
    padding-right:0;
  }
  ::v-deep .el-checkbox{
    margin-left: -10px;
  }
  #duoBianDan >>> .el-checkbox__inner{
    border-radius: 20px;
  }
  #duoBianDan >>> .el-checkbox__label{
    padding-left: 4px;
    border-color: rgb(255 100 56);
    color: rgb(255, 255, 255);
    background: rgb(255 100 56);
    padding: 6px;
    font-size: 13px;
    line-height: 18px;
    border: 1px solid #f0f1f4;
    border-radius: 4px;
    margin-left: 6px;
  }
  ::v-deep #expertbalademandList .cell div {
    border-bottom: 1px solid #dfe6ec;
    margin-left: -10px;
    padding-left: 10px;
}
::v-deep #expertbalademandList .cell div:last-child {
    border-bottom: 0;
}
::v-deep #expertbalademandList .el-table th.el-table__cell > .cell {
    padding-left: 10px;
    font-weight: 600;
}
::v-deep #expertbalademandList >>> .el-table--border .el-table__cell:first-child .cell {
  padding-left: 10px;
}
::v-deep #expertbalademandList .cell div {
    width: 150px;
    overflow: hidden;
    height: 50px;
    padding-top: 12px;
}
::v-deep #expertbalademandList .el-table .cell{
  padding-left:10px;
}
::v-deep #fanmm .el-table--enable-row-transition .el-table__body td.el-table__cell{
  vertical-align: baseline;
}
</style>


<style>
.bt_user {
  width: 408px;
}
#duoBianDan{
  margin-left: 10px;
}
.lala {
  width: 408px;
}
.expertWeiClass{
  width: 40px;
  height: 40px;
}
#expertFile{
  background-color: #F5F7FA;
  padding: 8px;
}
#expertFile div:last-child{
  margin-bottom: 0 !important;
}
</style>
